package com.cenwangkeji.zhihuimuye;

import android.app.Application;
import android.content.Context;

import com.lws.basic.utils.common.MyToast;

import io.reactivex.functions.Consumer;
import io.reactivex.plugins.RxJavaPlugins;


/**
 * @松 on 2019/7/18 16:29
 */
public class MyApp extends Application {

    private static Context context;
    @Override
    public void onCreate() {
        super.onCreate();
        context = getApplicationContext();
        MyToast.context = context;


    }

    public static Context getContext() {
        return context;
    }


}
